package android.home;

import sopia.sg.R;
import android.app.Activity;
import android.os.Bundle;

public class DatabaseActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        DBAdapter db = new DBAdapter(this);
        //---add 2 titles---
        db.open();        
        long id;
        id = db.insertAccount("Vietcombank","2500");        
        id = db.insertAccount("Techcombank","1500");       
        db.close();
    }
}